package team.kirohuji.service.message;

import javax.jms.Destination;
import javax.jms.Topic;

public interface ProducerService {
    /**
     * 向指定队列发送消息
     */
	void sendQueueMessage(Destination destination, final String msg);
	
	void sendQueueMessage(String destination, final String msg);
    
    Topic setTopicName(String topicName);

	void sendDefaultTopicMessage(String msg);

	void sendTopicMessage(String destination, String msg);

	void sendTopicMessage(Destination destination, String msg);
}